

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>WSDL Binding [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Web Services (WSDL),Web Services (WSDL) Model WSDL, Binding,WSDL,WSDL Binding Element,WSDL Binding Diagram,Element,Element WSDL Binding,Model,Model WSDL, Binding,Binding,Binding WSDL Element,Binding WSDL Diagram,Diagram,Diagram WSDL Binding,SOAP Binding">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">WSDL Binding</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="wsdl_message.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="wsdl_port_type_operation.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">WSDL bindings are represented in Enterprise Architect by UML Classes stereotyped as </span><span class="f_BodyText" style="font-style: italic;">WSDLbinding</span><span class="f_BodyText">. Bindings should be defined under the Bindings package in the WSDL namespace structure. Each </span><span class="f_BodyText" style="font-style: italic;">WSDLbinding</span><span class="f_BodyText"> Class implements the operations specified by a particular </span><span class="f_BodyText" style="font-style: italic;">WSDLportType</span><span class="f_BodyText"> interface. Therefore, <a href="wsdl_port_type.htm">WSDLportTypes should be defined before</a> creating </span><span class="f_BodyText" style="font-style: italic;">WSDLbindings</span><span class="f_BodyText">.</span></p>
<p class="p_BodyText"><span class="f_BodyText">To define new </span><span class="f_BodyText" style="font-style: italic;">WSDLbinding</span><span class="f_BodyText"> elements for your namespace, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Open the Overview diagram defined for your WSDL namespace package, and double-click on the Bindings package to open the Bindings diagram.</span></li>
<li value=2><span class="f_NumberedList">Drag the</span><span class="f_NumberedList" style="font-style: italic; font-weight: bold;"> </span><span class="f_NumberedList" style="font-style: italic;">Binding</span><span class="f_NumberedList"> element from the </span><span class="f_UIControl">Toolbox</span><span class="f_NumberedList"> onto the diagram. The </span><span class="f_UIControl">WSDL Binding</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="wsdlbindingprops.png" width="350" height="282" border="0" alt="WSDLBindingProps"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=3><span class="f_NumberedList">Type in a </span><span class="f_MenuKeyField">Name</span><span class="f_NumberedList"> for the Binding.</span></li>
<li value=4><span class="f_NumberedList">Select the </span><span class="f_MenuKeyField">PortType</span><span class="f_NumberedList"> for the Binding; the drop-down list of PortTypes is taken from those defined in the PortTypes package.</span></li>
<li value=5><span class="f_NumberedList">Select the </span><span class="f_MenuKeyField">Protocol</span><span class="f_NumberedList"> for the Binding, either </span><span class="f_MenuKeyField">http</span><span class="f_NumberedList"> or </span><span class="f_MenuKeyField">soap</span><span class="f_NumberedList">.</span></li>
<li value=6><span class="f_NumberedList">For SOAP Bindings, enter the </span><span class="f_MenuKeyField">Transport</span><span class="f_NumberedList"> URL and select the </span><span class="f_MenuKeyField">Style</span><span class="f_NumberedList">. For http Bindings, select the </span><span class="f_MenuKeyField">Verb</span><span class="f_NumberedList">.</span></li>
<li value=7><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to close the </span><span class="f_UIControl">WSDL Binding</span><span class="f_NumberedList"> dialog and create the binding. A </span><span class="f_NumberedList" style="font-style: italic;">realization</span><span class="f_NumberedList"> connector is created between the binding and the corresponding </span><span class="f_NumberedList" style="font-style: italic;">Port Type</span><span class="f_NumberedList"> interface.</span></li>
<li value=8><span class="f_NumberedList">To specify the Binding operations, select and double-click on an Operation in the Binding element. The </span><span class="f_UIControl">WSDL Binding Operation Details</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="wsdlbindingoperationprops.png" width="392" height="280" border="0" alt="WSDLBindingOperationProps"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=9><span class="f_NumberedList">Type in or select the Binding Operation details.</span></li>
<li value=10><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">Parameters</span><span class="f_NumberedList"> button. The </span><span class="f_UIControl">WSDL Binding Operation Parameters</span><span class="f_NumberedList"> dialog displays. For each input, output and fault, click on the </span><span class="f_MenuKeyField">Details</span><span class="f_NumberedList"> button and enter the details.</span></li>
<li value=11><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button on each of the </span><span class="f_UIControl">WSDL Binding Parameter Details</span><span class="f_NumberedList">, </span><span class="f_UIControl">WSDL Binding Operation Parameters</span><span class="f_NumberedList"> and </span><span class="f_UIControl">WSDL Binding Operation Details</span><span class="f_NumberedList"> dialogs to close them.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">You can edit the WSDL-specific properties of the binding later by double-clicking the binding Class in the diagram or </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">. Alternatively, on </span><span class="f_NumberedList">the </span><span class="f_UIControl">WSDL Binding</span><span class="f_NumberedList"> dialog, </span><span class="f_BodyText">click on the </span><span class="f_MenuKeyField">UML</span><span class="f_BodyText">button to invoke the standard </span><span class="f_UIControl">Properties</span><span class="f_BodyText"> dialog for a Class. (This button does not display on the initial </span><span class="f_UIControl">WSDL Binding</span><span class="f_BodyText"> dialog for a new Binding element.)</span></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
